/**
 * @projectName: com.xiayuanxing.designPattern
 * @className: TheaterLight
 * @author: xiayuanxing
 * @description: TODO
 * @date: 2021/12/28 16:10
 * @version: 1.0
 */
public class TheaterLight {

    private static TheaterLight instance = new TheaterLight();

    public static TheaterLight getInstance(){
        return instance;
    }

    public void on(){
        System.out.println("TheaterLight on!");
    }

    public void  off(){
        System.out.println("TheaterLight off!");
    }


    public void dim(){
        System.out.println("TheaterLight dim...");
    }

    public void bright(){
        System.out.println("TheaterLight bright...");
    }
}
